Linux Command Line and Shell Scripting Bible
book metadata
Title: Linux Command Line and Shell Scripting Bible
Author: Richard Blum, Christine Bresnahan
Pub date: January 2021, 4th edition
Publisher: Wiley
ISBN: 978-1-119-70093-7
Language: English
Pages: 832
Weight:
Height: 23.37 cm
Width: 18.8 cm
Cover:

Table of Contents
-
Part I: Getting Started with the Linux Command Line
- Chapter 1: Starting with Linux Shells
- Chapter 2: Getting to the Shell
- Chapter 3: Basic Bash Shell Commands
- Chapter 4: More Bash Shell Commands
- Chapter 5: Understanding the Shell
- Chapter 6: Using Linux Environment Variables
- Chapter 7: Understanding Linux File Permissions
- Chapter 8: Managing Filesystems
- Chapter 9: Installing Software
- Chapter 10: Working with Editors
-
Part II: Shell Scripting Basic
- Chapter 11: Basic Script Building
- Chapter 12: Using Structured Commands
- Chapter 13: More Structured Commands
- Chapter 14: Handling User Input
- Chapter 15: Presenting Data
- Chapter 16: Script Control
-
Part III: Advanced Shell Scripting
- [[#Chapter 17: Creating Functions]]
- Chapter 18: Writing Scripts for Graphical Desktops
- Chapter 19: Introducing sed and gawk
- Chapter 20: Regular Expressions
- Chapter 21: Advanced sed
- Chapter 22: Advanced gawk k
- Chapter 23: Working with Alternative Shells
-
Part IV: Creating and Managing Practical Scripts
- Chapter 24: Writing Simple Script Utilities
- Chapter 25: Getting Organized
Chapter 17: Creating Functions
Key concepts
- Exploring basic script functions
- Returning a value from a function
- Using variables in functions
- Investigating array variables and functions
- Considering function recursion
- Creating a library
- Using functions on the command line
Personal thoughts
- In both simple and complex scripts there is a need to repeat or reuse same block of code.
- How can this be applied?
- Reflections, critiques, or takeaways:
Examples or code snippets
function name {
block of code goes here
}
Questions
- What’s unclear or worth exploring further?
Summary
- Use your own words an summarise the chapter. If using chatGPT to help with summary, don't just copy and paste. Write manually to improve memory.
Reference or additional reading
[[ ... ]]- Internal links[source_material.com/article_name](https://www.source_material.com)- Outbound link